package at.fhv.androideightpuzzle.network;

import java.io.IOException;
import java.util.Observable;

import at.fhv.androideightpuzzle.network.message.IMessage;

public class Client extends Observable{
	
	private String m_name;
	private NetworkSocket m_socket;
	
	public Client(String name){
		m_name=name;
	}
	
	public void sendMessage(IMessage message) throws IOException{
		m_socket.sendMessage(message);
	}
	
	public String getName(){
		return m_name;
	}
}
